Optimal. Leaf size=125 \[ -\frac{16 c^2 \sqrt{b x+c x^2} (7 b B-6 A c)}{105 b^4 x}+\frac{8 c \sqrt{b x+c x^2} (7 b B-6 A c)}{105 b^3 x^2}-\frac{2 \sqrt{b x+c x^2} (7 b B-6 A c)}{35 b^2 x^3}-\frac{2 A \sqrt{b x+c x^2}}{7 b x^4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.109451, antiderivative size = 125, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136, Rules used = {792, 658, 650} \[ -\frac{16 c^2 \sqrt{b x+c x^2} (7 b B-6 A c)}{105 b^4 x}+\frac{8 c \sqrt{b x+c x^2} (7 b B-6 A c)}{105 b^3 x^2}-\frac{2 \sqrt{b x+c x^2} (7 b B-6 A c)}{35 b^2 x^3}-\frac{2 A \sqrt{b x+c x^2}}{7 b x^4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 792
Rule 658
Rule 650
Rubi steps
\begin{align*} \int \frac{A+B x}{x^4 \sqrt{b x+c x^2}} \, dx &=-\frac{2 A \sqrt{b x+c x^2}}{7 b x^4}+\frac{\left (2 \left (-4 (-b B+A c)+\frac{1}{2} (-b B+2 A c)\right )\right ) \int \frac{1}{x^3 \sqrt{b x+c x^2}} \, dx}{7 b}\\ &=-\frac{2 A \sqrt{b x+c x^2}}{7 b x^4}-\frac{2 (7 b B-6 A c) \sqrt{b x+c x^2}}{35 b^2 x^3}-\frac{(4 c (7 b B-6 A c)) \int \frac{1}{x^2 \sqrt{b x+c x^2}} \, dx}{35 b^2}\\ &=-\frac{2 A \sqrt{b x+c x^2}}{7 b x^4}-\frac{2 (7 b B-6 A c) \sqrt{b x+c x^2}}{35 b^2 x^3}+\frac{8 c (7 b B-6 A c) \sqrt{b x+c x^2}}{105 b^3 x^2}+\frac{\left (8 c^2 (7 b B-6 A c)\right ) \int \frac{1}{x \sqrt{b x+c x^2}} \, dx}{105 b^3}\\ &=-\frac{2 A \sqrt{b x+c x^2}}{7 b x^4}-\frac{2 (7 b B-6 A c) \sqrt{b x+c x^2}}{35 b^2 x^3}+\frac{8 c (7 b B-6 A c) \sqrt{b x+c x^2}}{105 b^3 x^2}-\frac{16 c^2 (7 b B-6 A c) \sqrt{b x+c x^2}}{105 b^4 x}\\ \end{align*}
Mathematica [A] time = 0.0320801, size = 79, normalized size = 0.63 \[ -\frac{2 \sqrt{x (b+c x)} \left (3 A \left (-6 b^2 c x+5 b^3+8 b c^2 x^2-16 c^3 x^3\right )+7 b B x \left (3 b^2-4 b c x+8 c^2 x^2\right )\right )}{105 b^4 x^4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 86, normalized size = 0.7 \begin{align*} -{\frac{ \left ( 2\,cx+2\,b \right ) \left ( -48\,A{x}^{3}{c}^{3}+56\,B{x}^{3}b{c}^{2}+24\,A{x}^{2}b{c}^{2}-28\,B{x}^{2}{b}^{2}c-18\,A{b}^{2}cx+21\,{b}^{3}Bx+15\,A{b}^{3} \right ) }{105\,{x}^{3}{b}^{4}}{\frac{1}{\sqrt{c{x}^{2}+bx}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.82936, size = 185, normalized size = 1.48 \begin{align*} -\frac{2 \,{\left (15 \, A b^{3} + 8 \,{\left (7 \, B b c^{2} - 6 \, A c^{3}\right )} x^{3} - 4 \,{\left (7 \, B b^{2} c - 6 \, A b c^{2}\right )} x^{2} + 3 \,{\left (7 \, B b^{3} - 6 \, A b^{2} c\right )} x\right )} \sqrt{c x^{2} + b x}}{105 \, b^{4} x^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{A + B x}{x^{4} \sqrt{x \left (b + c x\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.1479, size = 258, normalized size = 2.06 \begin{align*} \frac{2 \,{\left (140 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b x}\right )}^{4} B c + 105 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b x}\right )}^{3} B b \sqrt{c} + 210 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b x}\right )}^{3} A c^{\frac{3}{2}} + 21 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b x}\right )}^{2} B b^{2} + 252 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b x}\right )}^{2} A b c + 105 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b x}\right )} A b^{2} \sqrt{c} + 15 \, A b^{3}\right )}}{105 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b x}\right )}^{7}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]